Trilium does not support multiple users. In order to have two or more persons with their own set of notes, multiple server instances must be set up. It is also not possible to use multiple sync servers.

To allow multiple server instances on a single physical server:

For support or additional context, see the related GitHub Discussion.